home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / Validation / Department.h < prev    next >
Encoding:
Text File  |  1995-02-17  |  415 b   |  20 lines

  1. // Department.h
  2. // 
  3. // Created on Wed Feb 15 09:50:50 GMT-0800 1995 by NeXT EOModeler.app Version 77
  4.  
  5. #import <eoaccess/eoaccess.h>
  6. @class Employee;
  7.  
  8. @interface Department : NSObject
  9. {
  10.     NSString *departmentName;
  11.     int deptId;
  12.     int locationId;
  13.     NSArray *toEmployees;
  14. }
  15.  
  16. - (NSString *)validateEmployee:(Employee *)emp;
  17.     // called to see if the department is okay with the setting of this employee
  18.  
  19. @end
  20.